package com.itheima.service;

import com.itheima.pojo.Article;
import com.itheima.pojo.ArticleQueryParam;
import com.itheima.pojo.Category;
import com.itheima.pojo.PageBean;

public interface ArticleService {
    Article addArticle(Article article);

    PageBean<Article> list(Integer pagNum, Integer pageSize, Integer categoryId, String state);

    Article getDetail(Integer id);

    Article updateArticle(Article article);
    void deleteArticle(Integer id);
}
